#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>
#include <QLabel>
#include <QHBoxLayout>
#include <QWidget>
#include <QKeyEvent>
#include <QPainter>
class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();
    QLabel line;
    QHBoxLayout lay;
    QWidget wid;
    void keyPressEvent(QKeyEvent *event);
    void paintEvent(QPaintEvent *event);
    void krug(QPainter* paint, int cx, int cy, int r);
    void Draw(QPainter*);
    int xc;
    int yc;
    int r;
    int col;
};

#endif // MAINWINDOW_H
